﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace TjZheng.News.DataEntity
{
    public class ControlInfo
    {
        [XmlAttribute("Name")]
        public string Name { get; set; }
        [XmlAttribute("DataType")]
        public string DataType { get; set; }
        [XmlAttribute("OriginalName")]
        public string OriginalName { get; set; }
        [XmlAttribute("DisplayName")]
        public string DisplayName { get; set; }
        [XmlAttribute("ControlType")]
        public string ControlType { get; set; }
        [XmlAttribute("IsRequired")]
        public bool IsRequired { get; set; }
        [XmlAttribute("Length")]
        public int Length { get; set; }
        [XmlAttribute("Regex")]
        public string Regex { get; set; }
        [XmlAttribute("Definition")]
        public string Definition { get; set; }
        [XmlAttribute("Message")]
        public string Message { get; set; }
        [XmlAttribute("Style")]
        public string Style { get; set; }
        [XmlAttribute("IsEditShow")]
        public bool IsEditShow { get; set; }
        [XmlAttribute("IsListShow")]
        public bool IsListShow { get; set; }
        [XmlAttribute("IsQuary")]
        public bool IsQuary { get; set; }
        [XmlAttribute("EditSort")]
        public int EditSort { get; set; }
        [XmlAttribute("ListSort")]
        public int ListSort { get; set; }
        [XmlAttribute("QuarySort")]
        public int QuarySort { get; set; }
    }
}
